﻿using productplanModule.ServiceReference1;
using Microsoft.Practices.Prism.Regions;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Data.Services.Client;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace productplanModule.Views
{
    /// <summary>
    /// Interaction logic for AddModule10Button.xaml
    /// </summary>
    [Export]
    [ViewSortHint("03")]
    public partial class AddModule10Button : UserControl
    {


        [Import]
        public IRegionManager regionManager;

        ServiceReference1.Container context = new ServiceReference1.Container(new Uri("http://172.16.1.249:1873/odata"));

        private static Uri addModule10MainUri = new Uri("AddModule10MainView", UriKind.Relative);

        public AddModule10Button()
        {
            InitializeComponent();

        }

        private void NavigateToContactAddModuleRadioButton_Click(object sender, RoutedEventArgs e)
        {
            regionManager.RequestNavigate("MainContentRegion", addModule10MainUri);

            
        }

      
    }
}
